const http = require('http');
const proxy = require('../lib/reqlmtproxy')
const fs = require('fs')

let server = http.createServer()
let jsonstr = fs.readFileSync('test/config.json', { encoding: 'utf-8' })
let config = JSON.parse(jsonstr)
proxy(server, config)
// app.use()

server.listen(3001, "0.0.0.0")
console.log("PORT:3001")